home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / cut.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CUT(1L)                                                   CUT(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      cut - remove sections from each line of files
  10.  
  11. SYNOPSIS
  12.      cut {-b byte-list, +bytes=byte-list} [-n] [file...]
  13.  
  14.      cut {-c character-list, +characters=character-list}
  15.      [file...]
  16.  
  17.      cut {-f field-list, +fields=field-list} [-d delim] [-s]
  18.      [+delimiter=delim] [+only-delimited] [file...]
  19.  
  20. DESCRIPTION
  21.      This manual page documents the GNU version of cut.  cut
  22.      prints sections of each line of each input file, or the
  23.      standard input if no files are given.  A file name of `-'
  24.      means standard input.  Which sections are printed is
  25.      selected by the options.
  26.  
  27.      OPTIONS
  28.      The _✓b_✓y_✓t_✓e-_✓l_✓i_✓s_✓t, _✓c_✓h_✓a_✓r_✓a_✓c_✓t_✓e_✓r-_✓l_✓i_✓s_✓t, and _✓f_✓i_✓e_✓l_✓d-_✓l_✓i_✓s_✓t are one or
  29.      more numbers or ranges (two numbers separated by a dash)
  30.      separated by commas.  The first byte, character, and field
  31.      are numbered 1.
  32.  
  33.      -_✓b, +_✓b_✓y_✓t_✓e_✓s _✓b_✓y_✓t_✓e-_✓l_✓i_✓s_✓t
  34.           Print only the bytes in positions listed in _✓b_✓y_✓t_✓e-_✓l_✓i_✓s_✓t.
  35.           Tabs and backspaces are treated like any other charac-
  36.           ter; they take up 1 byte.
  37.  
  38.      -_✓c, +_✓c_✓h_✓a_✓r_✓a_✓c_✓t_✓e_✓r_✓s _✓c_✓h_✓a_✓r_✓a_✓c_✓t_✓e_✓r-_✓l_✓i_✓s_✓t
  39.           Print only characters in positions listed in
  40.           _✓c_✓h_✓a_✓r_✓a_✓c_✓t_✓e_✓r-_✓l_✓i_✓s_✓t.  The same as -b for now, but interna-
  41.           tionalization will change that.  Tabs and backspaces
  42.           are treated like any other character; they take up 1
  43.           character.
  44.  
  45.      -_✓f, +_✓f_✓i_✓e_✓l_✓d_✓s _✓f_✓i_✓e_✓l_✓d-_✓l_✓i_✓s_✓t
  46.           Print only the fields listed in _✓f_✓i_✓e_✓l_✓d-_✓l_✓i_✓s_✓t.  Fields are
  47.           separated by a TAB by default.
  48.  
  49.      -_✓d, +_✓d_✓e_✓l_✓i_✓m_✓i_✓t_✓e_✓r _✓d_✓e_✓l_✓i_✓m
  50.           For -f, fields are separated by the first character in
  51.           _✓d_✓e_✓l_✓i_✓m instead of by TAB.
  52.  
  53.      -_✓n   Do not split multibyte characters (no-op for now).
  54.  
  55.      -_✓s, +_✓o_✓n_✓l_✓y-_✓d_✓e_✓l_✓i_✓m_✓i_✓t_✓e_✓d
  56.           For -f, do not print lines that do not contain the
  57.           field separator character.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.